Einhugur Word Plugin for Objo

Einhugur.Word.Paragraph.AppendShapeGroup Method

Appends shape group to the paragraph, and first shape in the group is also created to make the shape group valid. This function calls AppendShapeGroupRun, creating run, then it fetches the shape within the run.

AppendShapeGroup(
   shapeType as Einhugur.Word.ShapeTypes,
   x as Double,
   y as Double,
   cx as Double,
   cy as Double,
   unit as Einhugur.Word.EmuUnits) as Einhugur.Word.ShapeGroup

Parameters

shapeType
The type of the first shape in the group.
x
X Location of the shape from start of the paragraph.
y
Y Location of the shape from start of the paragraph.
cx
Width or x portion 2nd point of the shape.
cy
Height or y portion 2nd point of the shape.
unit
Unit for the shape.

Returns

Einhugur.Word.ShapeGroup
The newly created ShapeGroup.

Remarks

A shape group is one or more shapes which have been grouped.

Note that Shape support is very preliminary.

See Also

Einhugur.Word.Paragraph Class